import sys
import os

BASE_PATH = os.path.realpath(sys.argv[0])
print(BASE_PATH)

BASE_PATH = os.path.dirname(os.path.realpath(sys.argv[0]))
print(BASE_PATH)